//
//  KLIPush.h
//  KoalaUtilKit
//
//  Created by Tommy on 15/1/13.
//  Copyright (c) 2015年 Koala Team. All rights reserved.
//

#import <Foundation/Foundation.h>

@class RACSignal;

@protocol KLIPush <NSObject>

//上传devicetoken
- (RACSignal*)uploadDeviceToken:(NSData*)deviceToken;
//绑定用户
- (RACSignal*)bindUser:(NSString*)sid;
//解除绑定
- (RACSignal*)unbindUser;
//获取订阅配置
- (RACSignal*)fetchSubscribeConfig:(NSString*)sid;
//更新订阅 subscribes = @{@"msg":@(YES/NO)}
- (RACSignal*)updateSubscribeConfig:(NSString*)sid subscribes:(NSDictionary*)subscribes ;
//获取消息摘要
- (RACSignal*)fetchNewMsgBrief:(NSInteger)number ;
//获取消息详情
- (RACSignal*)fetchNewMsgDetail:(NSArray*)msgIds;


//统计推送消息的到达率
//- (RACSignal*)
//统计推送消息的阅读率

@end
